<template>
  <div class="table-first flex">
    <div class="bus-img">
      <img :src="'http://image.jiaowawang.cn/'+ item.shoplogo">
    </div>
    <ul class="msg-list">
      <li class="name">
        <span class="shop">{{item.shopname}}</span>
      </li>
      <li class="center">{{item.shopphone}}&nbsp;&nbsp;|&nbsp; ID:{{item.id}}</li> 
      <li class="text">
        地址：{{item.provinceName}}{{item.cityname}}{{item.countyname}}{{item.address}}
      </li>
    </ul>
  </div>
</template>

<script>
  export default {
    props: {
      item: {
        type: Object,
        default: () => {}
      }
    }
  }
</script>

<style scoped>
  .table-first .bus-img {
    position: relative;
    float: left;
    width: 60px;
    height: 60px;
    border-radius: 4px;
    border: 1px solid #00a1df;
    overflow: hidden;
    background: #f8f8f8;
  }

  .table-first .bus-img img {
    position: absolute;
    display: block;
    top: 50%;
    left: 50%;
    width: 60px;
    transform: translate(-50%, -50%);
  }

  .table-first .msg-list {
    flex: 1;
    min-height: 60px;
    margin-left: 20px;
    flex-flow: column wrap;
    justify-content: space-between;
  }

  .table-first .msg-list > li.center {
    height: 20px;
    text-align: left;
  }

  .table-first .msg-list > li.text {
    min-height: 20px;
    text-align: left;
  }

 .table-first .msg-list li.name {
    line-height: normal;
  }

  .table-first .msg-list li.name .shop {
    font-size: 15px;
    font-weight: 600;
  }

  .table-first .msg-list li.name .st {
    border-radius: 2px;
    padding: 0 2px;
    border: 1px solid #999;
    color: #999;
  }

  .table-first .msg-list li.name .st.st1 {
    color: #fff;
    background: #1ac423;
    border: 1px solid #1ac423;
  }

  .table-first .msg-list li.name .st.st2 {
    border: 1px solid #1ac423;
    color: #1ac423;
  }

  .table-first .msg-list li.text {
    color: #676565;
    line-height: normal;
  }

  .table-first .msg-list li.text span {
    margin: 0 20px;
    color: #6abcdc;
    font-weight: bold;
  }

</style>
